Release 10.1A: OpenEdge Development:
Web Services


LOGICAL

Table D–7 describes the supported castings in each 4GL parameter mode (INPUT and OUTPUT) between the 4GL LOGICAL type and XML Schema.

Table D–7: 4GL data type cast—LOGICAL 
For this XML Schema type...
In this 4GL parameter mode...
OpenEdge...
string  
normalizedString 
INPUT 
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT 
De-serializes the XML Schema string type as if it was a serialized boolean value.
boolean 
INPUT 
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT 
De-serializes the XML Schema value into the 4GL parameter according to the XML Schema serialization rules.
decimal 
float 
double 
INPUT 
Serializes a 4GL LOGICAL value of true to an XML Schema type value of 1, and serializes a LOGICAL value of false to an XML Schema type value of 0.
OUTPUT 
De-serializes an XML Schema value of 0 to a 4GL LOGICAL value of false, and all other XML Schema values to a LOGICAL value of true.
integer 
nonPositiveInteger 
long 
int 
short 
byte 
nonNegativeInteger 
unsignedLong 
unsignedIn 
unsignedShort 
unsignedByte 
INPUT 
Serializes a 4GL LOGICAL value of true to an XML Schema type value of 1 (or -1 for a nonPositiveInteger), and serializes a LOGICAL value of false to an XML Schema type value of 0.
OUTPUT 
De-serializes an XML Schema value of 0 to a 4GL LOGICAL value of false, and all other XML Schema values to a LOGICAL value of true.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095